import request from '../util/request'

export const getList = params => request({
  url: '/messageRemind/list',
  params,
})
export const add = (data, alert = 0) => request({
  url: '/messageRemind/add',
  method: 'post',
  data,
  alert
})
export const update = (data, alert = 0) => request({
  url: '/messageRemind/update',
  method: 'post',
  data,
  alert
})
export const del = (params, alert = 0) => request({
  url: '/messageRemind/delete',
  params,
  alert
})
export const start = (params, alert = 0) => request({
  url: '/messageRemind/start',
  params,
  alert
})
export const stop = (params, alert = 0) => request({
  url: '/messageRemind/stop',
  params,
  alert
})